import 'package:flutter/cupertino.dart';
import 'package:flutter/material.dart';
import 'package:flutter_module/util/app_colors.dart';

//不够美观，待优化
class EmptyView extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return Column(
      mainAxisAlignment: MainAxisAlignment.center,
      children: <Widget>[
        Image.asset(
          "assets/placeholder.png",
          width: 100.0,
        ),
        SizedBox(height: 8),
        Text("暂无数据",
            style: TextStyle(fontSize: 12, color: AppColors.color_999999)),
      ],
    );
  }
}
